package com.ds.robot.assistant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ds.robot.assistant.entity.ReqMilestonesEntity;
import com.ds.robot.assistant.model.MilestoneData;
import com.ds.robot.assistant.vo.ReqMilestoneVO;

import java.util.List;

/**
 * 需求里程碑表
 *
 * @author WeiShaoying
 */
public interface ReqMilestonesService extends IService<ReqMilestonesEntity> {

    boolean checkDataExist(MilestoneData milestoneData);

    List<ReqMilestonesEntity> queryTodayMilestone();

    List<ReqMilestonesEntity> queryMilestoneByDate(String date);

    void updateMilestone(ReqMilestoneVO vo);

    void deleteByReqName(String reqName);

    List<MilestoneData> queryAllData();
}

